home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 001003_gilham@csl.sri.com_Sat Sep 24 04:51:25 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  2KB

  1. Received: from lily.csl.sri.com by cs.umb.edu with SMTP id AA22043
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Sat, 24 Sep 1994 14:51:05 -0400
  3. Received: by lily.csl.sri.com id AA05068
  4.   (5.67b/IDA-1.4.3 for tex-k@cs.umb.edu); Sat, 24 Sep 1994 11:51:25 -0700
  5. Date: Sat, 24 Sep 1994 11:51:25 -0700
  6. From: Fred Gilham <gilham@csl.sri.com>
  7. Message-Id: <199409241851.AA05068@lily.csl.sri.com>
  8. To: tex-k@cs.umb.edu
  9. Subject: Problem with kpathsea and dvips
  10.  
  11.  
  12.  
  13. I've been trying to make the tex installation from ftp.shsu.edu.  I
  14. thought I got the latest of everything.  But the documentation says
  15. that the latest version of kpathsea is 2.1, while version.c in the
  16. kpathsea directory says 2.0.  But the date of the ChangeLog file is
  17. Sept. 12, so I think I've got the latest version, 2.1.
  18.  
  19. But anyway, I was trying to make dvips.  When I made it and ran it, it
  20. gave an error about not being able to find `ader/type1 font'.  After a
  21. while I tracked it down to something in kpathsea trashing the
  22. `header_head' global variable in dvips, and changing the proper header
  23. entry which had `texc.pro' in the name field to the garbage above.  It
  24. seemed like `header_head' was getting trashed in kpse_init_format().
  25. That function was writing to the variable `kpse_format_info' and that
  26. was overwriting `header_head'.  In particular, the switch case
  27. `kpse_dvips_header_format' seemed to be doing the damage.  What I did
  28. was to change the enum called kpse_file_format_type in tex_file.h.  I
  29. changed the line
  30.  
  31. kpse_last_format = kpse_dvips_header_format
  32.  
  33. to
  34.  
  35. kpse_last_format = kpse_dvips_header_format + 1
  36.  
  37. and after that everything worked.
  38.  
  39. I think this needs to be done, because otherwise you end up with the
  40. kpse_format_info array being one element too small.
  41.  
  42. Fred Gilham   gilham@csl.sri.com